package com.xdcplus.web.mapper.tool;

import com.xdcplus.mp.mapper.IBaseMapper;
import com.xdcplus.web.common.pojo.entity.tool.ToolGroup;
import com.xdcplus.web.common.pojo.query.tool.ToolGroupQuery;

import java.util.List;

/**
 * 1-设备对应群组信息(ToolGroup)表数据库访问层
 *
 * @author Bullion.Yan
 * @since 2023-02-14 16:26:25
 */
public interface ToolGroupMapper extends IBaseMapper<ToolGroup> {

    /**
     * 查询1-设备对应群组信息(ToolGroup)
     *
     * @param toolGroupQuery 1-设备对应群组信息(ToolGroup)查询
     * @return {@link List<ToolGroup>}
     */
    List<ToolGroup> queryToolGroup(ToolGroupQuery toolGroupQuery);

    ToolGroup queryToolGroupByGroupCode(String groupCode);

}
